import axios from "./http";



const getMovieList =(params:any)=>{
    return axios.post('/movie/list',params)
}

const updateMovie =(params:any) =>{
    return axios.post('/movie/update',params)
}

const createMovie= (params:any)=>{
    return axios.post('/movie/create',params)
}

const getMovieById=(params:any)=>{
    return axios.post('/movie/id',params)
}

export default {
    getMovieList,
    updateMovie,
    createMovie,
    getMovieById
}
